package com.ruoyi.shop.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * goods对象 goods
 * 
 * @author ruoyi
 * @date 2025-06-05
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品编号 */
    private Long gid;

    /** 商家编号 */
    @Excel(name = "商家编号")
    private Long sid;

    /** 类别编号 */
    @Excel(name = "类别编号")
    private Long cid;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String gname;

    /** 菜品图片 */
    @Excel(name = "菜品图片")
    private String gimg;

    /** 菜品价格 */
    @Excel(name = "菜品价格")
    private BigDecimal price;

    /** 菜品详情 */
    @Excel(name = "菜品详情")
    private String description;

    /** 菜品状态 */
    @Excel(name = "菜品状态")
    private Long state;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    public void setGid(Long gid) 
    {
        this.gid = gid;
    }

    public Long getGid() 
    {
        return gid;
    }
    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setGname(String gname) 
    {
        this.gname = gname;
    }

    public String getGname() 
    {
        return gname;
    }
    public void setGimg(String gimg) 
    {
        this.gimg = gimg;
    }

    public String getGimg() 
    {
        return gimg;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gid", getGid())
            .append("sid", getSid())
            .append("cid", getCid())
            .append("gname", getGname())
            .append("gimg", getGimg())
            .append("price", getPrice())
            .append("description", getDescription())
            .append("state", getState())
            .append("note", getNote())
            .toString();
    }
}
